﻿@{
    ViewBag.Title = "Index";
}


<div class="row">
    @if (ViewBag.articles != null)
    {
        foreach (com.fmtx.Model.Article item in ViewBag.articles)
        {
            <section  style="margin-top:30px;padding-top: 1px;" >
                <div style="float:left; padding-right:10px;">
                            <a href="/article/@item.Id"> <img src="@StaticCs.ImageUrl/img?m=overcut&w=120&h=80&file=@item.FrontCover"></a>
                        </div>
                <div style="margin-bottom:5px;">
                            <div><h4>@item.Title</h4></div>
                            <div> <a href="/article/@item.Id">@item.Summary</a></div>
                        </div>
            </section>
        }
    }
    @Html.Partial("_Paging")
        <div class="clear"></div>
</div>